//
//  State.m
//  MusicAnalyzer
//
//  Created by jiro on 12/04/04.
//  Copyright 2012 jiro music. All rights reserved.
//

#import "State.h"

#import "StateMachine.h"

@implementation State

@synthesize stateType;

- (id) init
{
	self = [ super init ];
	SM = [ StateMachine sharedStateMachine ];
	return self;
}

- (Command*) commandToKeyEvent: (AppKeyEvent*) e returnTransitInfo: ( StateTransitionInfo* ) info
{
	@throw( [ InvalidVirtualCallException exception ] );
}

- (Command*) commandToMouseEvent: (AppMouseEvent*) e returnTransitInfo: ( StateTransitionInfo* ) info
{
	@throw( [ InvalidVirtualCallException exception ] );
}

- (Command*) commandMidiEvent: (AppMidiEvent*) e returnTransitInfo: ( StateTransitionInfo* ) info
{
	@throw( [ InvalidVirtualCallException exception ] );
}

@end
